package entity

type Result struct {
	Success bool   `json:"success"`
	Code    int    `json:"code"`
	Msg     string `json:"msg"`
}

func (r *Result) IsSuccess() bool {
	return r.Success
}
